const mongoose = require('../helper/db')
const Schema = mongoose.Schema
const ObjectId = Schema.ObjectId

var userSchema = {
    userId: {
        type: String,
        index: true
    }
}

module.exports = {
    User: mongoose.model('User', new Schema(userSchema)),
    userSchema: userSchema
}